# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=forkingportscanner
pkgver=1
pkgrel=6
groups=('blackarch' 'blackarch-scanner')
pkgdesc='Simple and fast forking port scanner written in perl. Can only scan on host at a time, the forking is done on the specified port range. Or on the default range of 1-65535. Has the ability to scan UDP or TCP, defaults to tcp.'
url='http://magikh0e.xyz/'
arch=('any')
license=('custom:unknown')
depends=('perl')
makedepends=('dos2unix')
source=("$pkgname::http://magikh0e.xyz/pubCode/ForkingPortScanner.txt")
sha512sums=('894b03add88d010314e646faf8074ecb7cbe9e03')

prepare() {
  # magikh0e, wtf...fix this :/
  sed -i 's/.$//' $pkgname
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

